package com.paradogs.framework.gate;

import com.paradogs.framework.core.msg.ByteData;
import com.paradogs.framework.core.queue.AbstractMsgConsumer;
import com.paradogs.framework.core.utils.MsgUtils;
import org.springframework.stereotype.Component;

import java.lang.reflect.InvocationTargetException;

/**
 * @author: yumi
 * @date: 2023/12/11  14:11
 * @Description: TODO
 */
@Component
public class GateMsgConsumer extends AbstractMsgConsumer {
    @Override
    public void handle(ByteData msg) throws InvocationTargetException, IllegalAccessException {
        MsgUtils.adapterHandle(msg);
    }
}
